function addCssByLink(url) {
  var link = document.createElement("link");
  link.setAttribute("rel", "stylesheet");
  link.setAttribute("type", "text/css");
  link.setAttribute("href", url);

  var heads = document.getElementsByTagName("head")[0];
  if (heads && !heads.querySelector(`link[href="${url}"]`)) {
    heads.appendChild(link);
  }
}

{
  /* <card-com>
<template #left>
  <div class="movie-left card-left">
    <card-head src="./assets/movie.png">
      免费电视剧
      <template #more>
        <ul class="more-list">
          <li
            v-for="item in ['国产剧','港台剧','日韩剧','欧美剧']"
            :key="item"
          >
            <a class="more" href="javascript:void(0)">{{item}}</a>
            <i>|</i>
          </li>
        </ul>
        <a class="more" href="javascript:void(0)">
          更多
          <img src="./icon/more.svg" style="width: 15px" />
        </a>
      </template>
    </card-head>
    <!-- 视频列表 -->
    <video-list :list="useData.videoData"></video-list>
    <!-- 咨询列表 -->
    <consult-com :list="useData.videoConsult"></consult-com>
  </div>
</template>

<template #right>
  <!-- 排行榜列表 -->
  <div class="movie-right card-right">
    <card-head src="./assets/hot.png">电视剧热门推荐</card-head>
    <top-list :list="useData.tvTop"></top-list>
  </div>
</template>
</card-com> */
}
